package com.wy.bean;

import com.wy.model.sys.FeeRuleDimension;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ApiModel(value = "费用规则",description = "费用规则")
public class FeeBean implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;//主键ID

    private Integer residenceId;  //小区ID

    private String feeName;//费用名称

    private String feeType;//费用类型

    private String feeCycle;//费用周期

    private Double feeAmount;//费用金额

    private Date createTime;//创建时间

    private String createUser;//创建人

    private Date modifyTime;//修改时间

    private String modifyUser;//修改人

    private String feeFormula;//费用公式 公式写入常量类

    private Integer ext1;

    private Integer ext2;

    private String ext3;//第一次执行时间，后面按照周期来执行

    private Double ext4;//使用公式时，如果没有默认的单价

    private String ext5;//规则状态1启动2关闭

    private String ext6;

    //费用维度关系表
    private List<FeeRuleDimension> feeRuleDimensionList;

    private String projectName;//小区名称

    private String feeTypeName;//费用名称

    private String feeRuleStatus;//规则状态中文

    private String feeCycleName; //费用周期名称

    private String createTimeName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getResidenceId() {
        return residenceId;
    }

    public void setResidenceId(Integer residenceId) {
        this.residenceId = residenceId;
    }

    public String getFeeName() {
        return feeName;
    }

    public void setFeeName(String feeName) {
        this.feeName = feeName == null ? null : feeName.trim();
    }

    public String getFeeType() {
        return feeType;
    }

    public void setFeeType(String feeType) {
        this.feeType = feeType == null ? null : feeType.trim();
    }

    public String getFeeCycle() {
        return feeCycle;
    }

    public void setFeeCycle(String feeCycle) {
        this.feeCycle = feeCycle == null ? null : feeCycle.trim();
    }

    public Double getFeeAmount() {
        return feeAmount;
    }

    public void setFeeAmount(Double feeAmount) {
        this.feeAmount = feeAmount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser == null ? null : modifyUser.trim();
    }

    public String getFeeFormula() {
        return feeFormula;
    }

    public void setFeeFormula(String feeFormula) {
        this.feeFormula = feeFormula == null ? null : feeFormula.trim();
    }

    public Integer getExt1() {
        return ext1;
    }

    public void setExt1(Integer ext1) {
        this.ext1 = ext1;
    }

    public Integer getExt2() {
        return ext2;
    }

    public void setExt2(Integer ext2) {
        this.ext2 = ext2;
    }

    public String getExt3() {
        return ext3;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3 == null ? null : ext3.trim();
    }

    public Double getExt4() {
        return ext4;
    }

    public void setExt4(Double ext4) {
        this.ext4 = ext4;
    }

    public String getExt5() {
        return ext5;
    }

    public void setExt5(String ext5) {
        this.ext5 = ext5 == null ? null : ext5.trim();
    }

    public String getExt6() {
        return ext6;
    }

    public void setExt6(String ext6) {
        this.ext6 = ext6 == null ? null : ext6.trim();
    }

    public List<FeeRuleDimension> getFeeRuleDimensionList() {
        return feeRuleDimensionList;
    }

    public void setFeeRuleDimensionList(List<FeeRuleDimension> feeRuleDimensionList) {
        this.feeRuleDimensionList = feeRuleDimensionList;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getFeeTypeName() {
        return feeTypeName;
    }

    public void setFeeTypeName(String feeTypeName) {
        this.feeTypeName = feeTypeName;
    }

    public String getFeeRuleStatus() {
        return feeRuleStatus;
    }

    public void setFeeRuleStatus(String feeRuleStatus) {
        this.feeRuleStatus = feeRuleStatus;
    }

    public String getFeeCycleName() {
        return feeCycleName;
    }

    public void setFeeCycleName(String feeCycleName) {
        this.feeCycleName = feeCycleName;
    }

    public String getCreateTimeName() {
        return createTimeName;
    }

    public void setCreateTimeName(String createTimeName) {
        this.createTimeName = createTimeName;
    }
}